package cn.lsq.org.mapper;

import cn.lsq.org.domain.Employee;
import cn.lsq.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeMapper {
    List<Employee> loadAll();
    Employee loadById(Long id);
    void save(Employee employee);
    void remove(Long id);
    void update(Employee employee);
    Long queryCount(EmployeeQuery employeeQuery);
    List<Employee> queryData(EmployeeQuery employeeQuery);

    void patchDelete(Long[] ids);
}
